﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctlTimeFilterPanel.ascx.cs" Inherits="Ctl_ctlTimeFilterPanel" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<%@ Register   Namespace="Grishko.UI"    TagPrefix="uc2" %>
<%@ Register assembly="UIControls" namespace="Grishko.UIControls" tagprefix="cc1" %>
<%@ Register src="ctlFilterEditor.ascx" tagname="ctlFilterEditor" tagprefix="uc1" %>

<%@ Register assembly="UIControls" namespace="UIControls" tagprefix="cc2" %>

<asp:UpdatePanel ID="updFilter" UpdateMode="Conditional"  runat="server">
<ContentTemplate >
     <table width="100%" cellpadding ="2" cellspacing ="0">
        <tr  class ="TblCaption">          
            <td style="width :20px" class ="grd_td_item">           
                <asp:ImageButton ID="btnShowFilter" ImageUrl ="~/images/grd_plus.gif"  
                    runat="server" onclick="btnShowFilter_Click"  />                
            </td>                                                  
             <td class ="grd_td_item" style ="width :350px">
                <uc2:FilterPanel ID="FilterPanel1" runat ="server" 
                AddImageUrl="~/images/add.png"  
                DeleteImageUrl="~/images/icon-delete.gif"
                EditImageUrl= "~/images/icon-edit.gif"  />
             </td>               
             <td class ="grd_td_item" style ="text-align :left; width :250px ">
                
                 <table cellpadding="0" cellspacing="0" style="width :100%">
                     <tr>                         
                         <td style="width :5px">
                         </td>                         
                         <td style="width :100px">
                             <cc2:TextBox_Date ID="txtStart" runat="server" CssClass="TextBox" 
                                 Text="<%# sDtStart %>"></cc2:TextBox_Date>
                             <cc1:CalendarExtender ID="txtStart_CalendarExtender" runat="server" 
                                 Enabled="True" Format="dd.MM.yyyy" TargetControlID="txtStart">
                             </cc1:CalendarExtender>
                         </td>
                         <td style="width :15px">
                             &nbsp;
                         </td>
                         <td style="width :100px">
                             <cc2:TextBox_Date ID="txtFinish" runat="server" CssClass="TextBox" 
                                 Text="<%# sDtFinish %>"></cc2:TextBox_Date>
                             <cc1:CalendarExtender ID="txtFinish_CalendarExtender" runat="server" 
                                 Enabled="True" Format="dd.MM.yyyy" PopupPosition="BottomRight" 
                                 TargetControlID="txtFinish">
                             </cc1:CalendarExtender>
                         </td>
                         <td style ="width :10px" >
                            &nbsp
                         </td>
                         
                         <td style="width:20px">
                             <asp:ImageButton ID="btnFind" runat="server" Height="16px" 
                                 ImageUrl="~/images/search_button.gif" onclick="btnFind_Click" 
                                 OnClientClick="skm_LockScreen();" style="height: 12px" />
                         </td>
                     </tr>
                 </table>
                
             </td>               
            <td  class ="grd_td_item">
                &nbsp;</td>
        </tr>
   </table>
   
     <asp:Panel ID="pnlEditFilter" Visible=<%# ShowEditor %> CssClass ="EditRowBackGround"  Width ="100%" runat="server">
         <uc1:ctlFilterEditor ID="ctlFilterEditor1" runat="server" />
    </asp:Panel>  
</ContentTemplate>
</asp:UpdatePanel> 


 

